﻿<!DOCTYPE html>
<html>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>角色管理-编辑</title>
    <script src="/scripts/vue.js"></script>
    <script src="/scripts//axios.min.js"></script>
    <script src="/scripts/heyui/heyui.js"></script>
    <link rel="stylesheet" href="/scripts/heyui/css/heyui.blue.theme.css">
    <link rel="stylesheet" href="/styles/global.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2024630_ks3jqav5mbi.css">
    <script src="/scripts/lib.js"></script>
    <style type="text/css">
        .file-manage {
            width: 800px;
            margin: auto;
            background-color: #ffffff;
            margin-bottom: 20px;
            padding-bottom: 20px;
        }

        .file-manage-dire {
            padding-top: 0px;
        }

        .file-manage-header {
            padding-top: 20px;
        }

        .file-manage-dire .create-btn {
            text-align: center;
            padding-top: 20px;
        }

        .file-manage-dire-tabs .h-tabs-item {
            font-size: 16px;
            font-weight: 400;
        }
        .file-manage-dire-tabs-view{
            padding-top:10px ;
        }

        .file-manage-dire-tabs .h-tabs-item:hover {
            background-color: #f2f2f2;
        }

        .file-manage-dire-tabs .h-tabs-item.h-tabs-item-selected {
            background-color: #f2f2f2;
        }

        .file-manage-dire-tabs .h-tabs-item i {
            color: #FFCD2C;
        }

        .file-manage-dire-tabs .h-tabs-menu>.h-tabs-item+div {
            margin-top: 0px
        }

        .file-manage-content {
            padding: 20px;
            height: 300px;
        }
    </style>
</head>

<body>
    <div id="app">
        <div class="page-body">
            <div class="h-panel">
                <div class="h-panel-bar">
                    <span class="h-panel-title">角色管理编辑</span>
                </div>
                <div class="h-panel-body">
                    <h-form v-width="500" :label-width="110" :model="model" :rules="validation" ref="form" :top="0.2"
                        show-error-tip>

                        <h-form-item label="账号" prop="Account">
                            <input type="text" v-model="model.Account" />
                        </h-form-item>

                        <h-form-item label="密码" prop="PassWord">
                            <input type="text" v-model="model.PassWord" />
                        </h-form-item>

                        <h-form-item label="真实姓名" prop="Name">
                            <input type="text" v-model="model.Name" />
                        </h-form-item>

                        <h-form-item label="图像地址" prop="Pic">
                            <input type="text" v-model="model.Pic" />
                        </h-form-item>

                        <h-form-item label="性别 0=女 1=男" prop="Sex">
                            <input type="text" v-model="model.Sex" />
                        </h-form-item>

                        <h-form-item label="角色权限ID" prop="SysRole_ID">
                            <input type="text" v-model="model.SysRole_ID" />
                        </h-form-item>

                        <h-form-item label="0=可使用 1=禁止登陆" prop="DisabledState">
                            <input type="text" v-model="model.DisabledState" />
                        </h-form-item>

                        <h-form-item :no-padding="true" single>
                            <h-button color="primary" @click="submit">保存</h-button>
                            <button-history></button-history>
                        </h-form-item>

                    </h-form>
                </div>
            </div>
        </div>
    </div>
</body>

</html>
<script src="/controller/system/SysUserEdit.js"></script>